export const methodOptions = [
  {
    index: 'get',
    value: 'GET'
  },
  {
    index: 'post',
    value: 'POST'
  },
  {
    index: 'put',
    value: 'PUT'
  },
  {
    index: 'patch',
    value: 'PATCH'
  },
  {
    index: 'delete',
    value: 'DELETE'
  }
]

// request headers
export const headerOptions = [
  {
    value: 'Authorization',
    index: 'Authorization'
  },
  {
    index: 'User-Agent',
    value: 'User-Agent'
  },
  {
    index: 'Accept-Language',
    value: 'Accept-Language'
  },
  {
    value: 'Cookie',
    index: 'Cookie'
  }
]

// response body params type
export const returnParamsType = [
  {
    index: 'Object',
    value: 'Object'
  },
  {
    index: 'Array',
    value: 'Array'
  },
  {
    index: 'Int',
    value: 'Int'
  },
  {
    index: 'String',
    value: 'String'
  },
  {
    index: 'Bool',
    value: 'Bool'
  }
]

// interface params position
export const boundInterfaceParamsPositionType = {
  'headersList': '请求头部',
  'paramsList': '请求体',
  'returnListHeaders': '返回头部',
  'returnListBody': '返回参数'
}
